"use client";

/**
 * 滚动
 *
 * scroll-smooth 平滑滚动
 *
 *
 * @returns {*}
 * @constructor
 */
export default function Page(){
  return (
    <div className={"w-1/2 p-10 bg-slate-200 h-48 mx-auto overflow-y-auto scroll-smooth"}>
      <p id={"top"}>TOP</p>
      <div className={" h-96 w-full bg-slate-500"}></div>
      <a href={"/scroll/behavior#top"}>go back top</a>
    </div>

  )
}
